//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-01B
TN_Widget.CreateTable([['Big 12 Softball Tournament - All Sessions Pass','USA Softball Hall of Fame Stadium','Oklahoma City, OK','Wednesday','5/8/2024','TBD','5983391','Big-12-Softball-Tournament---All-Sessions-Pass-5-8-2024'],['Big 12 Softball Tournament (Time: TBD) - Session 1','USA Softball Hall of Fame Stadium','Oklahoma City, OK','Wednesday','5/8/2024','12:00 PM','6337434','Big-12-Softball-Tournament--Time--TBD----Session-1-5-8-2024'],['Big 12 Softball Tournament (Time: TBD) - Session 2','USA Softball Hall of Fame Stadium','Oklahoma City, OK','Thursday','5/9/2024','12:00 PM','6337435','Big-12-Softball-Tournament--Time--TBD----Session-2-5-9-2024'],['Big 12 Softball Tournament (Time: TBD) - Session 3','USA Softball Hall of Fame Stadium','Oklahoma City, OK','Thursday','5/9/2024','6:00 PM','6337436','Big-12-Softball-Tournament--Time--TBD----Session-3-5-9-2024'],['Big 12 Softball Tournament (Time: TBD) - Semifinals','USA Softball Hall of Fame Stadium','Oklahoma City, OK','Friday','5/10/2024','12:00 PM','6337437','Big-12-Softball-Tournament--Time--TBD----Semifinals-5-10-2024'],['Big 12 Softball Tournament (Time: TBD) - Finals','USA Softball Hall of Fame Stadium','Oklahoma City, OK','Saturday','5/11/2024','1:00 PM','6337438','Big-12-Softball-Tournament--Time--TBD----Finals-5-11-2024'],['NCAA Women's College World Series - All Sessions','USA Softball Hall of Fame Stadium','Oklahoma City, OK','Thursday','5/30/2024','TBD','5760592','NCAA-Women-s-College-World-Series---All-Sessions-5-30-2024'],['NCAA Women's College World Series - Session 1','USA Softball Hall of Fame Stadium','Oklahoma City, OK','Thursday','5/30/2024','11:00 AM','5760593','NCAA-Women-s-College-World-Series---Session-1-5-30-2024'],['NCAA Women's College World Series - Session 2','USA Softball Hall of Fame Stadium','Oklahoma City, OK','Thursday','5/30/2024','6:00 PM','5760594','NCAA-Women-s-College-World-Series---Session-2-5-30-2024'],['NCAA Women's College World Series - Session 3','USA Softball Hall of Fame Stadium','Oklahoma City, OK','Friday','5/31/2024','6:00 PM','5760595','NCAA-Women-s-College-World-Series---Session-3-5-31-2024'],['NCAA Women's College World Series - Session 4','USA Softball Hall of Fame Stadium','Oklahoma City, OK','Saturday','6/1/2024','2:00 PM','5760596','NCAA-Women-s-College-World-Series---Session-4-6-1-2024'],['NCAA Women's College World Series - Session 5','USA Softball Hall of Fame Stadium','Oklahoma City, OK','Sunday','6/2/2024','2:00 PM','5760597','NCAA-Women-s-College-World-Series---Session-5-6-2-2024'],['NCAA Women's College World Series - Session 6','USA Softball Hall of Fame Stadium','Oklahoma City, OK','Monday','6/3/2024','11:00 AM','5760598','NCAA-Women-s-College-World-Series---Session-6-6-3-2024'],['NCAA Women's College World Series - Session 7 ','USA Softball Hall of Fame Stadium','Oklahoma City, OK','Monday','6/3/2024','6:00 PM','5760601','NCAA-Women-s-College-World-Series---Session-7--6-3-2024'],['NCAA Women's College World Series - Session 8','USA Softball Hall of Fame Stadium','Oklahoma City, OK','Wednesday','6/5/2024','7:00 PM','5760602','NCAA-Women-s-College-World-Series---Session-8-6-5-2024'],['NCAA Women's College World Series - Session 9','USA Softball Hall of Fame Stadium','Oklahoma City, OK','Thursday','6/6/2024','7:00 PM','5760603','NCAA-Women-s-College-World-Series---Session-9-6-6-2024'],['NCAA Women's College World Series - Session 10 (If Necessary)','USA Softball Hall of Fame Stadium','Oklahoma City, OK','Friday','6/7/2024','7:00 PM','5760604','NCAA-Women-s-College-World-Series---Session-10--If-Necessary--6-7-2024']],'ASA Hall of Fame Stadium','http://www.ticketnetwork.com/ticket/ASA-Hall-of-Fame-Stadium-events.aspx');